package com.yql.entity;

import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author  azha 
 * @create 2021-12-03 09:38 
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

	/**
	 * table name:uid
	 * table type:int(11)
	 * table comment:null
	 */
	private Integer uid;

	/**
	 * table name:uname
	 * table type:varchar(255)
	 * table comment:null
	 */
	private String uname;

	/**
	 * table name:unum
	 * table type:int(11)
	 * table comment:null
	 */
	private Integer unum;

	private String upwd;

	/**
	 * table name:udate
	 * table type:date
	 * table comment:null
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date udate;

	private Integer mid;

}
